using AppToolKit.Data;
using AppToolKit.Model;
using System;
namespace AppToolKit.Business
{
	public interface IBusinessFactory
	{
		BusinessSupport Support
		{
			get;
			set;
		}
		IDataAccessObjectFacotry DaoFactory
		{
			get;
			set;
		}
		IBusiness<T> GetBusiness<T, F>() where T : class, IEntity where F : IEntityFactory<T>;
		IBusiness<T> GetBusiness<T>() where T : class, IEntity;
	}
}
